package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 呼叫管理对象 dw_phone_connect
 * 
 * @author ruoyi
 * @date 2024-02-05
 */
public class DwPhoneConnect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long connectId;

    private String callId;



    /** 呼叫用户 */
    @Excel(name = "呼叫用户")
    private Long callUserId;
    private String callUserName;

    private String callUserAvatar;


    /** 被呼叫方 */
    @Excel(name = "被呼叫方")
    private Long calledUserId;
    private String calledUserName;

    private String calledUserAvatar;
    /** 呼叫状态 */
    @Excel(name = "呼叫状态")
    private String callStatus;

    /** 接通时间 */
    @Excel(name = "接通时间")
    private Long connectTime;

    private String eventType;

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public void setConnectId(Long connectId)
    {
        this.connectId = connectId;
    }

    public Long getConnectId() 
    {
        return connectId;
    }
    public void setCallUserId(Long callUserId) 
    {
        this.callUserId = callUserId;
    }

    public Long getCallUserId() 
    {
        return callUserId;
    }
    public void setCalledUserId(Long calledUserId) 
    {
        this.calledUserId = calledUserId;
    }

    public Long getCalledUserId() 
    {
        return calledUserId;
    }
    public void setCallStatus(String callStatus) 
    {
        this.callStatus = callStatus;
    }

    public String getCallStatus() 
    {
        return callStatus;
    }
    public void setConnectTime(Long connectTime)
    {
        this.connectTime = connectTime;
    }

    public Long getConnectTime()
    {
        return connectTime;
    }

    public String getCallUserName() {
        return callUserName;
    }

    public void setCallUserName(String callUserName) {
        this.callUserName = callUserName;
    }

    public String getCallUserAvatar() {
        return callUserAvatar;
    }

    public void setCallUserAvatar(String callUserAvatar) {
        this.callUserAvatar = callUserAvatar;
    }

    public String getCalledUserName() {
        return calledUserName;
    }

    public void setCalledUserName(String calledUserName) {
        this.calledUserName = calledUserName;
    }

    public String getCalledUserAvatar() {
        return calledUserAvatar;
    }

    public void setCalledUserAvatar(String calledUserAvatar) {
        this.calledUserAvatar = calledUserAvatar;
    }
    public String getCallId() {
        return callId;
    }

    public void setCallId(String callId) {
        this.callId = callId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("connectId", getConnectId())
            .append("callUserId", getCallUserId())
            .append("calledUserId", getCalledUserId())
            .append("callStatus", getCallStatus())
            .append("createTime", getCreateTime())
            .append("connectTime", getConnectTime())
            .toString();
    }
}
